package com.formiaomiao.demain.model;

import java.util.List;

public class DiscussBean {
    /**
     * code : 200
     * msg : 成功
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNum : 1
         * pageSize : 20
         */

        private int pageNum;
        private int pageSize;
        private List<ListBean> list;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 1
             * comid : 6767579f-a33f-4be8-a6c0-2952426eabf5
             * fromid : 13
             * toid : 13
             * discussdata : 啦啦啦
             * discussdate : 1541475227605
             * createdate : 2018-11-06T03:33:47.000+0000
             * userBean : {"id":13,"userHead":"http://img2.imgtn.bdimg.com/it/u=3762062804,2848635742&fm=26&gp=0.jpg","nickName":"小号"}
             * toUserBean : {"id":13,"userHead":"http://img2.imgtn.bdimg.com/it/u=3762062804,2848635742&fm=26&gp=0.jpg","nickName":"小号"}
             */

            private int id;
            private String comid;
            private int fromid;
            private int toid;
            private String discussdata;
            private String discussdate;
            private String createdate;
            private UserBeanBean userBean;
            private ToUserBeanBean toUserBean;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getComid() {
                return comid;
            }

            public void setComid(String comid) {
                this.comid = comid;
            }

            public int getFromid() {
                return fromid;
            }

            public void setFromid(int fromid) {
                this.fromid = fromid;
            }

            public int getToid() {
                return toid;
            }

            public void setToid(int toid) {
                this.toid = toid;
            }

            public String getDiscussdata() {
                return discussdata;
            }

            public void setDiscussdata(String discussdata) {
                this.discussdata = discussdata;
            }

            public String getDiscussdate() {
                return discussdate;
            }

            public void setDiscussdate(String discussdate) {
                this.discussdate = discussdate;
            }

            public String getCreatedate() {
                return createdate;
            }

            public void setCreatedate(String createdate) {
                this.createdate = createdate;
            }

            public UserBeanBean getUserBean() {
                return userBean;
            }

            public void setUserBean(UserBeanBean userBean) {
                this.userBean = userBean;
            }

            public ToUserBeanBean getToUserBean() {
                return toUserBean;
            }

            public void setToUserBean(ToUserBeanBean toUserBean) {
                this.toUserBean = toUserBean;
            }

            public static class UserBeanBean {
                /**
                 * id : 13
                 * userHead : http://img2.imgtn.bdimg.com/it/u=3762062804,2848635742&fm=26&gp=0.jpg
                 * nickName : 小号
                 */

                private int id;
                private String userHead;
                private String nickName;
                private String neteaseUid;
                private String userName;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getUserHead() {
                    return userHead;
                }

                public void setUserHead(String userHead) {
                    this.userHead = userHead;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public String getNeteaseUid() {
                    return neteaseUid;
                }

                public void setNeteaseUid(String neteaseUid) {
                    this.neteaseUid = neteaseUid;
                }

                public String getUserName() {
                    return userName;
                }

                public void setUserName(String userName) {
                    this.userName = userName;
                }
            }

            public static class ToUserBeanBean {
                /**
                 * id : 13
                 * userHead : http://img2.imgtn.bdimg.com/it/u=3762062804,2848635742&fm=26&gp=0.jpg
                 * nickName : 小号
                 */

                private int id;
                private String userHead;
                private String nickName;
                private String userName;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getUserHead() {
                    return userHead;
                }

                public void setUserHead(String userHead) {
                    this.userHead = userHead;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public String getUserName() {
                    return userName;
                }

                public void setUserName(String userName) {
                    this.userName = userName;
                }
            }
        }
    }
}
